package cn.mst.vrs.controller.admin.venue.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 体育场馆分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VenuePageReqVO extends PageParam {

    @Schema(description = "体育场馆类型主键ID", example = "1097")
    private Long typeId;

    @Schema(description = "体育场馆编码")
    private String code;

    @Schema(description = "体育场馆名称", example = "芋艿")
    private String name;

    @Schema(description = "体育场馆描述", example = "随便")
    private String description;

    @Schema(description = "场馆封面地址")
    private String posterUrl;

    @Schema(description = "开放时间")
    private LocalTime openedAt;

    @Schema(description = "关闭时间")
    private LocalTime closedAt;

    @Schema(description = "单价（元 / 小时)", example = "8648")
    private BigDecimal price;

    @Schema(description = "当前场馆状态（0：关闭，1：空闲，2：使用中）", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}